package me.zhengjie.modules.insurance.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 用户案件申请请求
 *
 * @author HeHui
 * @date 2022-01-13 00:00
 */
@Data
public class InsuredUserApplyRequest implements Serializable {
    private static final long serialVersionUID = -3527428184129607300L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "骑手名称")
    @NotNull(message = "请输入姓名")
    private String userName;

    @ApiModelProperty(value = "出险人手机号码")
    @NotBlank(message = "请输入手机号码")
    private String userMobile;

    @Column(name = "user_id_card",nullable = false)
    @NotBlank(message = "请输入身份证")
    @ApiModelProperty(value = "骑手身份证")
    private String userIdCard;

    private Integer claimType = 1;

    @ApiModelProperty(value = "责任判断ids")
    private String responsibilityIds;

    @ApiModelProperty(value = "事故发生时间")
    private Date accidentDate;

    @ApiModelProperty(value = "出险类型")
    private List<Integer> accidentTypeIds;

    @ApiModelProperty(value = "事故区域code")
    private List<String> accidentRegionCode;

    @ApiModelProperty(value = "事故地址")
    private String accidentAddress;

    @ApiModelProperty(value = "事故说明")
    private String accidentDesc;

    private List<String> fileList;
}
